ul,
li {
  list-style: none;
  padding: 0;
  margin: 0;
}

.edit_name {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;

  .input_edit {
    width: 270px;
    margin-left: 10px;
    height: 30px;
  }
}

:deep(.el-menu) {
  .el-sub-menu {
    .el-sub-menu__title {
      height: 35px !important;
      line-height: 35px;
    }

    .el-menu-item {
      height: 35px !important;
      line-height: 35px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding-right: 30px;

      .text_name {
        color: #000;
      }

      .btn_code {
        display: flex;
        color: #007cff;

        .del_edi_btn {
          margin-left: 16px;
          cursor: pointer;

          &:hover {
            color: #409eff;
          }
        }
      }

      &:hover {
        background-color: #007bff38 !important;
      }
    }

    .el-sub-menu__icon-arrow {
      margin-top: -6px;
    }
  }

  .isactive {
    background-color: #007bff;
    color: #fff;

    .com_li_left {
      color: #fff;

      .edit_icon {
        color: #fff !important;
      }
    }

    .el-sub-menu__icon-arrow {
      color: #fff;
    }
  }

  .el-sub-menu__title {
    font-size: 12px;
    display: flex;
    align-items: center;
    margin-top: 6px;

    .com_li_left {
      display: flex;
      align-items: center;

      .name_edit {
        max-width: 140px;
        text-overflow: ellipsis;
        overflow: hidden;
      }

      .edit_icon {
        margin-left: 5px;
        color: #007cff;
        opacity: 0;
      }
    }

    .com_li_right {
      display: flex;
      align-items: center;
      margin-right: 10px;

      .delete_icon {
        display: none;
        color: #f55d5d;
      }
    }

    &:hover {
      background-color: #007bff38;

      .delete_icon {
        display: block;
      }

      .edit_icon {
        opacity: 1;
      }
    }
  }
}

.btn_view {
  width: 50px;
  height: 28px;
  color: #fff;
}

.btn_save {
  width: 50px;
  height: 28px;
}

.btn_delete {
  width: 50px;
  height: 28px;
  color: #fff;
}

.btn_cancel {
  width: 50px;
  height: 28px;

  &:hover {
    border: 1px solid #e5e5e5;
    color: #999;
    background-color: #e5e5e5;
  }
}

.text_print {
  color: #999;
  font-size: 14px;
  background-color: #fff;
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;

  .mod_cont {
    display: flex;
    align-items: center;
    margin: 5px 0;

    .input_mm {
      margin-right: 20px;

      :deep(.el-input-number.is-without-controls .el-input__wrapper) {
        padding: 0 2px;
      }
    }

    .paper_size {
      display: flex;
      align-items: center;
      margin-right: 20px;
      column-gap: 2px;

      .icon {
        margin: 0 3px;
      }
    }

    :deep(.el-switch__label) {
      color: #999;
    }
  }

  .page_num {
    width: 160px;
  }

  .page_num2 {
    width: 45px;
    margin: 0px;

    :deep(.el-input__inner) {
      text-align: center;
    }
  }

  .btns {
    display: flex;
    align-items: center;

    .btn-preview,
    .btn-del,
    .btn-save {
      color: #fff;
    }

    .btn-preview,
    .btn-cancel,
    .btn-del,
    .btn-save {
      width: 3.2vw;
    }

    .btn {
      height: 26px;
      line-height: 24px;
      padding: 0 8px;
      margin-left: 20px;
      font-size: 14px;
      color: #ffffff !important;
      border-radius: 2px;
      display: inline-block;
      font-weight: 400;
      text-align: center;
      white-space: nowrap;
      vertical-align: middle;
      user-select: none;
      border: 1px solid #e5e5e5;
      cursor: pointer;
    }

    .detail {
      border-color: #007cff !important;
      background-color: #007cff !important;

      &:hover {
        background-color: #1661e4 !important;
      }
    }

    .bg_gray {
      border-color: #687e92 !important;
      background-color: #687e92 !important;

      &:hover {
        background-color: #405b74 !important;
      }
    }

    .bg_red {
      border-color: #f56c6c !important;
      background-color: #f56c6c !important;

      &:hover {
        background-color: #f54242 !important;
      }
    }
  }
}

:deep(.el-dialog .el-dialog__body) {
  text-align: center;
}

.print_code {
  background-color: #fff;
  display: flex;
  margin-top: 10px;

  .left {
    width: 250px;
    padding-bottom: 8px;

    .header_top {
      display: flex;
      align-items: center;
      padding: 10px;
      justify-content: space-around;
      font-size: 18px;
      border-bottom: #99999930 solid 1px;

      .text {
        color: #aaa;
        font-size: 14px;
      }

      b {
        cursor: pointer;
      }
    }

    .text_bb {
      margin: 12px 16px;
      display: flex;
      justify-content: end;
      font-size: 14px;

      .b_title {
        font-size: 14px;
        color: #aaa;

        span {
          &:nth-child(2) {
            color: #007cff;
            margin-left: 10px;
          }
        }
      }

      .title {
        margin-left: auto;
        color: #aaa;
        cursor: pointer;
        font-size: 12px;
        border: 1px solid #007cff78;
        padding: 2px 6px;
        border-radius: 20px;
        color: #007cff;
        background-color: #c9e3fd78;
        &:hover {
          color: #fff;
          border: 1px solid #409eff;
          background-color: #307bfd;
        }
      }
    }

    .details_mo {
      margin: 10px 16px;
      font-size: 16px;
      color: #aaa;

      .dele_btn {
        display: inline-block;
        border-color: #f56c6c !important;
        background-color: #f56c6c !important;
        color: #fff;
        font-size: 12px;
        padding: 0 4px;

        &:hover {
          background-color: #f54242 !important;
        }
      }

      .deil_mo {
        margin-top: 10px;
      }

      .mo-l {
        display: flex;
        align-items: center;
        margin-top: 10px;

        // 文字排版
        .text {
          display: flex;
          justify-content: space-between;
          flex: 1;

          i {
            cursor: pointer;
            color: #000;
            font-size: 20px;
          }

          .activeFont {
            background: #409eff;
            color: #fff;
          }
        }

        .delete_btn {
          font-size: 14px;
          margin-left: 20px;
          color: red;
          cursor: pointer;

          &:hover {
            color: #e65a5a;
          }
        }

        .n_l {
          font-size: 12px;
        }

        .n_r {
          display: flex;
          align-items: center;
        }

        .pig {
          width: 30px;
          height: 30px;
          background-color: #999;
        }

        .slider-demo-block {
          display: flex;
          align-items: center;
          flex: 1;

          .el-slider {
            margin-top: 0;
            margin-left: 10px;

            :deep(.el-slider__runway.show-input) {
              margin-right: 15px;
            }

            :deep(.el-input-number.is-without-controls .el-input__wrapper) {
              padding: 0 6px;
            }

            :deep(.el-slider__input) {
              width: 40px;
            }
          }
        }

        .select_coder {
          flex: 1;
          width: 100%;
        }

        .img-uploader {
          .dele_img {
            display: flex;
            align-items: center;

            .imgUrl {
              width: 40px;
              height: 40px;
              box-shadow: 0 0 5px 2px #ecebeb;
            }
          }

          .img-uploader-icon {
            border: 1px dashed #ccc;
            width: 40px;
            height: 40px;
          }
        }

        .sel_data {
          width: 100%;

          .btn_add {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
          }

          .plus_add {
            cursor: pointer;
            margin-right: 8px;
            font-size: 18px;
          }

          .module_add {
            background-color: #dedede77;
            padding: 2px 6px 4px 6px;

            .big_card {
              .list_li {
                display: flex;
                align-items: center;
                justify-content: space-between;
                background-color: #4577ce;
                color: #fff;
                font-size: 12px;
                padding: 4px 4px 4px 6px;
                margin: 4px 0;

                .ordi_li {
                  display: flex;
                  align-items: center;

                  div {
                    margin-left: 6px;
                  }
                }

                .btn_li {
                  display: flex;

                  .material-icons {
                    cursor: pointer;
                    margin-left: 10px;
                    font-size: 14px;

                    &:hover {
                      transform: scale(1.3);
                    }
                  }
                }
              }
            }
          }
        }

        :deep(.el-checkbox__input.is-checked .el-checkbox__inner) {
          background-color: #5cb85c;
          color: #5cb85c;
        }

        .page_num {
          flex: 1;
        }
      }
    }

    .list_ele {
      font-size: 14px;

      .list_li {
        margin: 10px 16px;

        .code {
          display: flex;
          justify-content: space-between;
          align-items: center;
          background-color: #dedede;
          padding: 10px;
          margin-bottom: 10px;

          .btn_code {
            display: flex;
            color: #007cff;

            .del_edi_btn {
              margin-left: 16px;
              cursor: pointer;

              &:hover {
                color: #409eff;
              }
            }
          }
        }
      }
    }
  }

  .right {
    background-color: #00000028;
    flex: 1;
    overflow-x: auto;

    &::-webkit-scrollbar {
      background-color: #fff;
    }

    .big {
      display: flex;
      justify-content: center;

      .main {
        display: flex;
        align-content: center;
        flex-wrap: wrap;
        margin: 10px;
        align-items: center;
        .boxcolor {
          outline: 1px dashed red;
        }

        .cont {
          background-color: #fff;
        }
      }
    }
  }
}

:deep(.lookshow) {
  .el-dialog__body {
    padding: 0;

    .bg_card {
      padding: 12px;
      display: flex;
      justify-content: center;
      align-items: center;
      overflow-y: auto;
    }
  }
}
